package fr.upmc.tps.mdoc.models;

public class Address {
	private long addressId;
	private String street;
	private String city;
	private String zip;
	private String country;

	public Address() {
		this("1, Joker Street", "Arkham City", "70007", "BatmanCountry");
	}
  
	public Address(String street, String city, String zip, String country) {
		this.street = street;
		this.city = city;
		this.zip = zip;
		this.country = country;
	}

	public long getAddressId() {
		return addressId;
	}

	public void setAddressId(long id) {
		this.addressId = id;
	}

	public String getStreet() {
		return street;
	}

	public void setStreet(String street) {
		this.street = street;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getZip() {
		return zip;
	}

	public void setZip(String zip) {
		this.zip = zip;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String toString() {
		return street + " " + zip + " " + city + " ( en " + country + ")";
	}

}
